
local Part = require'entities.part'

Tube = {}
Tube.mt = { __index = Tube }
setmetatable(Tube, Part.mt)

function Tube.initialize( deck, slot, x, y, transform, layer )


	local TUBE_t = Part.new( deck, slot, x, y, transform, layer )
	setmetatable(TUBE_t, Tube.mt)


	TUBE_t.prop:setPriority(51)
	TUBE_t.name = deck
	TUBE_t.health = 25
	TUBE_t.dmg_rate = 2

	return TUBE_t

end


function Tube.new( deck, slot, x, y, transform, layer)

	local o = Tube.initialize( deck, slot, x, y, transform, layer)

	return o

end

function Tube:is_tube()
	
	return true

end



return Tube